package com.gxuwz.restaurant.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("orderinfo_table")
public class Order {

    @TableId(type = IdType.AUTO)
    private String id;
    private String goodsname;
    private String price;
    private String seatNumber;
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private LocalDateTime creatTime;
    private String payState;
    private String orderNo;




}